package map.blocks;

import java.awt.Color;
import java.awt.Graphics;

import map.MapObject;
import map.PlayerObject;
import map.RasterCell;

public class InterstateTeleporter extends Teleporter {

	public InterstateTeleporter() {
		super();
		properties.put("Map-File", "unknown");
	}
	
	@Override
	public boolean entered(PlayerObject actor) {
		//TODO;
		return true;
	}

	@Override
	public void paintComponent(Graphics arg0, RasterCell target) {
		arg0.setColor(Color.MAGENTA);
		arg0.fillOval(target.getCx()*target.RASTERSIZE, target.getCy()*target.RASTERSIZE, target.RASTERSIZE - 1, target.RASTERSIZE - 1);
	}

	@Override
	public MapObject newInstance() {
		return new InterstateTeleporter();
	}

	
	
	
}
